package com.demo11;

import java.util.Scanner;

public class StudentDemo {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        System.out.println("请输入学生姓名");
        String name = scanner.nextLine();
        StudentTest.checkName(name);
        System.out.println("请输入学生分数");
        int score = scanner.nextInt();

        StudentTest.checkScore(score);
    }
}
